package com.janwen.j2se.regex;

import java.util.regex.Pattern;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class URLRewriteRegex {

	
	static final Log logger = LogFactory.getLog(URLRewriteRegex.class);
	public static void checkURLPattern(String url,String regex){
		logger.info(Pattern.matches(regex,url));
	}
}
